﻿namespace dogd
{
	using System;

	/// <summary>
	/// Provides metadata to repository client.
	/// </summary>
	public interface IMetadataProvider
	{
		/// <summary>
		/// Load metadata for an appropriately attributed type.
		/// </summary>
		/// <param name="dataType">The type of the object to load.</param>
		/// <returns>TableMetadata instance for this type.</returns>
		TableMetadata LoadDataFor(Type dataType);
	}
}
